package com.yvtian.inv.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * (inv_sort)表实体类
 *
 * @author long
 * @since 2024-04-25 09:47:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "inv_sort")
public class InvSortEntity {
    @TableId(value = "sortId", type = IdType.AUTO)
    private Integer sortId;
    @TableField(value = "parentId")
    private Integer parentId;
    @TableField(value = "sort_name")
    private String sortName;
    @TableField(value = "unit_code")
    private String unitCode;
    @TableField(value = "sort_des")
    private String sortDes;
    /**
     * 创建人
     */
    @TableField(value = "create_user")
    private String createUser;
    /**
     * 创建人
     */
    @TableField(value = "update_user")
    private String updateUser;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
    /**
     * 计量单位名称
     */
    @TableField(value = "unit_name")
    private String unitName;
    @TableField(value = "is_del")
    private Integer isDel;

    @TableField(exist = false)
    private String parentName;

}

